import request from '@/utils/request'

/**
 * @description: 班次清单
 * @param {*} params
 */
export function getPlanClassList(params) {
  return request({
    url: '/production/classes/list',
    method: 'get',
    params
  })
}

/**
 * @description: 添加班次
 * @param {*} data
 */
export function addPlanClassSetting(data) {
  return request({
    url: '/production/classes/add',
    method: 'post',
    data
  })
}

/**
 * @description: 更新班次
 * @param {*} data
 */
export function updatePlanClassSetting(data) {
  return request({
    url: '/production/classes/update',
    method: 'post',
    data
  })
}

/**
 * @description: 删除班次
 * @param {*} params
 */
export function deletePlanClassSetting(data) {
  return request({
    url: '/production/classes/delete',
    method: 'post',
    data
  })
}
